﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
namespace Business
{
    public class Lop_BUL
    {
        Lop_DA l = new Lop_DA();
        public List<LOP> LoadData()
        {
            return l.LoadData();
        }
        public string Laykhoi(int khoi)
        {
            return l.Laykhoi(khoi);
        }
        public string Layss()
        {
            return l.Layss();
        }
        public bool Them(string tenlop, int ss, int khoi)
        {
            if (l.Them(tenlop, ss, khoi))
                return true;
            return
                false;
        }
        public bool Sua(string tenlop, int ss, int khoi)
        {
            if (l.Sua(tenlop, ss, khoi))
                return true;
            return
                false;
        }
        public bool Xoa(string tenlop)
        {
            if (l.Xoa(tenlop))
                return true;
            else
                return false;
        }
        public string Demkhoi(int khoi)
        {
            return l.Demkhoi(khoi);
        }
        public void Updatess(string tenlop, int ss)
        {
            l.Updatess(tenlop,ss);
        }
        public void CapnhatSSTKHK(string tenlop, int ss)
        {
            l.CapnhatSSTKHK(tenlop,ss);
        }
        //............
        public bool Thaydoiqd(int ssl10, int sll11, int sll12, int ss)
        {
            if (l.Thaydoiqd(ssl10, sll11, sll12,ss))
                return true;
            else
                return false;
        }
        public string Layssqd()
        {
            return l.Layssqd();
        }
        //....................
        public void ThemLopTKHK(string tl, string hk)
        {
            l.ThemLopTKHK(tl,hk);
        }
        public void XoaLopTKHK(string tl)
        {
            l.XoaLopTKHK(tl);
        }
        //......................
        public List<TONGKETHK> Loadtb()
        {
            return l.Loadtb();
        }
        public List<Object> Loaddt(string hk)
        {
            return l.Loaddt(hk);
        }
        //.......................
        public List<TBHOCKY> LoadTBHK()
        {
            return l.LoadTBHK();
        }
        public List<Object> TK(int loai, string dk)
        {
            return l.TK(loai,dk);
        }
        //....................
        public bool KTTTL(string lop)
        {
            return l.KTTTL(lop);
        }
    }

}
